import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {AdministratorEditComponent} from './edit/administrator-edit.component';
import {AdministratorListComponent} from './list/administrator-list.component';
import {AdministratorRoleComponent} from "./role/administrator-role.component";
import {MatButtonModule, MatCheckboxModule} from "@angular/material";
import {GnCrudModule} from "geminis-ng";

const routes: Routes = [
  // {path: '', component: AdministratorListComponent}
];

@NgModule({
  declarations: [
    AdministratorListComponent,
    AdministratorEditComponent,
    AdministratorRoleComponent
  ],
  imports: [
    RouterModule.forChild(routes),

    GnCrudModule,
    MatButtonModule,
    MatCheckboxModule
  ],
  exports:[
    AdministratorListComponent,
    AdministratorEditComponent,
    AdministratorRoleComponent
  ],
  entryComponents: [
    AdministratorEditComponent,
    AdministratorRoleComponent
  ]
})

export class AdministratorModule {
}
